# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatchling
pkgver=1.24.2
pkgrel=0
pkgdesc="Modern, extensible Python build backend"
url="https://hatch.pypa.io/latest/"
license="MIT"
arch="noarch"
depends="python3 py3-editables py3-packaging py3-pathspec py3-pluggy py3-trove-classifiers"
makedepends="py3-installer"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/py3/h/hatchling/hatchling-$pkgver-py3-none-any.whl"
options="!check"

package() {
	# this causes a lot of circular dependencies, namely this depends on
	# poetry-core, which needs jsonschema, which needs this
	python3 -m installer -d "$pkgdir" \
		"$srcdir"/hatchling-$pkgver-py3-none-any.whl
}

sha512sums="
fe6ef32aea0dd60ec36c34954b4345b55f031a694d24c4c18e1d77d7115b18bedf3d74f71a849d3a5c540d6361cd97c93ae20bbdbf306b7d249ab80999e7b33a  hatchling-1.24.2-py3-none-any.whl
"
